home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / CODE_UPLOAD2001.psc / My Projects / HTTPServer / V2.0 / HTTPHeader.cls < prev    next >
Encoding:
Visual Basic class definition  |  1999-04-29  |  907 b   |  40 lines

  1. VERSION 1.0 CLASS
  2. BEGIN
  3.   MultiUse = -1  'True
  4.   Persistable = 0  'NotPersistable
  5.   DataBindingBehavior = 0  'vbNone
  6.   DataSourceBehavior  = 0  'vbNone
  7.   MTSTransactionMode  = 0  'NotAnMTSObject
  8. END
  9. Attribute VB_Name = "HTTPHeader"
  10. Attribute VB_GlobalNameSpace = False
  11. Attribute VB_Creatable = False
  12. Attribute VB_PredeclaredId = False
  13. Attribute VB_Exposed = True
  14. Attribute VB_Ext_KEY = "SavedWithClassBuilder6" ,"Yes"
  15. Attribute VB_Ext_KEY = "Top_Level" ,"Yes"
  16. Option Explicit
  17.  
  18. Private mstrName As String
  19. Private mstrValue As String
  20. Friend Function Initialize(ByVal InputLine As String) As Boolean
  21.  
  22.   mstrName = Trim(SplitFrom(InputLine, ":"))
  23.   mstrValue = Trim(InputLine)
  24.   Initialize = (Len(mstrName) > 0)
  25.  
  26. End Function
  27.  
  28. Public Property Get Name() As String
  29.  
  30.   Name = mstrName
  31.  
  32. End Property
  33.  
  34.  
  35. Public Property Get Value() As String
  36.  
  37.   Value = mstrValue
  38.  
  39. End Property
  40.